home *** CD-ROM | disk | FTP | other *** search
- The following modifications to the X11 configuration files were created
- by Greg Earle. It works like a charm.
-
- regards,
- --
- Glenn Satchell ups!glenn@fourx.Aus.Sun.COM |
- Uniq Professional Services Pty Ltd ACN 056 279 335 | "The answer is no,
- PO Box 70, Paddington, NSW 2021, (Sydney) Australia | and I'll negotiate
- Phone: +61-2-360-7434 Fax: +61-2-331-2572 | from there."
- "Sun Accredited System Consultants" |
-
-
- ==============================================================================
- ===== Note from Allan Tuchman
- =====
- ===== Mico Loretan <mico@rainbow.econ.wisc.edu> wrote to me
- ===== suggesting the following change to the patch below. I
- ===== cannot verify it, but it may have to do with the release
- ===== of the compiler you are using. From Mico Loretan:
- =====
- ===== I think one of the lines in the file OW3-xmkmf.patch should say
- =====
- ===== args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM='/**/#'"
- ===== and not
- ===== args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM="/**/#"
- =====
- ===== (Notice how you need a different set of quotes for the
- ===== argument of DXCOMM.)
- ==============================================================================
-
- ----- Begin Included Message -----
-
- You can get almost anything to compile on your system by installing
- OpenWindows 3.0, and then applying the following patches to the files
- $OPENWINHOME/xmkmf, $OPENWINHOME/lib/config/sun.cf, and
- $OPENWINHOME/lib/config/site.def to make them actually work like they
- are supposed to:
-
- (Applicable via "patch -c -p0 -d $OPENWINHOME < thispatch")
-
- Once you have applied these patches, you can just go to the directory
- where your PD X11 program source is, and do "xmkmf". Once that's done,
- you can pretty much type "make" and things should work and build. Note
- that the patch assumes you are running 4.1.1; if not, salt the sun.cf
- patch below to taste.
-
- ----------------------------- >8 Cut here 8< ------------------------------
-
- *** bin/xmkmf.orig Wed Sep 18 07:02:02 1991
- --- bin/xmkmf Tue Aug 6 00:39:20 1991
- ***************
- *** 30,34 ****
-
- elif [ -n "$OPENWINHOME" ]; then
- ! args="-DUseInstalled "$OPENWINHOME/lib/config
-
- else
- --- 30,34 ----
-
- elif [ -n "$OPENWINHOME" ]; then
- ! args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM="/**/#" "$OPENWINHOME/lib/config
-
- else
- *** lib/config/sun.cf.orig Wed Sep 18 01:26:19 1991
- --- lib/config/sun.cf Fri Dec 13 16:17:58 1991
- ***************
- *** 6,12 ****
- */
- #define SunOSPlatform YES /* set to NO if not running SunOS */
- ! #define OSName SunOS 4.0.3
- #define OSMajorVersion 4
- ! #define OSMinorVersion 0
- #define HasSaberC YES /* for machines that have it */
- #define HasNdbm YES
- --- 6,12 ----
- */
- #define SunOSPlatform YES /* set to NO if not running SunOS */
- ! #define OSName SunOS 4.1.1
- #define OSMajorVersion 4
- ! #define OSMinorVersion 1
- #define HasSaberC YES /* for machines that have it */
- #define HasNdbm YES
- *** lib/config/site.def.orig Wed Sep 18 01:26:19 1991
- --- lib/config/site.def Tue Aug 6 00:44:37 1991
- ***************
- *** 0 ****
- --- 1,7 ----
- + #define BinDir $(OPENWINHOME)/bin
- + #define LibDir $(OPENWINHOME)/lib
- + #define IncRoot $(OPENWINHOME)/share/include
- + #define InstallNonExecFile(file,dest) @@\
- + install:: file @@\
- + $(INSTALL) -c $(INSTDATFLAGS) file dest
- + #define NullParameter
-
- ----- End Included Message -----
-
-
- > From ups!fourx!ra.mcs.anl.gov!sun-managers-relay Tue Nov 24 06:20:28 1992
- > Date: Mon, 23 Nov 92 12:33:12 +0100
- > From: ups!fourx!ECN.NL!bernards (Marcel Bernards)
- > Subject: Using xmkmf and imake with OW3: How ?
- > To: sun-managers@eecs.nwu.edu
- > X-Envelope-To: sun-managers@eecs.nwu.edu
- > Content-Length: 727
- > X-Lines: 16
- >
- > Maybe I'm doing something wrong, but we try to get some X programs to compile
- > using the Imake files. ( I'm not a X11 hacker )
- >
- > It generates Makefiles which are unusable.
- >
- > What options do I need to supply in order to get correct makefiles which
- > points to teh correct library and include directories ?
- >
- > I tried to suppply $OPENWINHOME to imake, but it leaves things unresolved.
- >
- > Has anybody resolved these problems with imake and OW3 ?
- >
- > Marcel Bernards, UNIX & Net sysadm Netherlands Energy Research Foundation ECN
- > (and SURFnet IC/ICP), Phone: (+31 /0)2246 4579 Fax: (+31 /0)2246 1864
- > E-Mail: Bernards@ECN.NL, SnailMail: P.O. Box 1, 1755 ZG Petten
- > SCREAMNet : AAAAAARGHH!HUH?? : Disclaimer: "The AntiChrist is the Computer !"
- >
-
-